﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SimpleData.Data;
using SimpleData.ObjectModel.Design;

namespace SimpleData.ObjectModel
{
	public interface IObjectModelRepository : IRepository
	{

		Schema GetSchema<TFetch>( long schemaID )
			where TFetch : IFetchStrategy<Schema>, new();

		Schema GetSchema<TFetch>( SchemaName name )
			where TFetch : IFetchStrategy<Schema>, new();
	}
}
